package com.foxitcloud.entity;

import java.util.Date;

import org.springframework.data.mongodb.core.index.Indexed;

public abstract class BaseEntity {
	private Date createTime;
	@Indexed
	private String creator;
	private Date updateTime;
	private String updator;

	public static final String DELFLAG = "delFlag";	
	public static final String CREATETIME = "createTime";	
	public static final String CREATOR = "creator";	
	public static final String UPDATETIME = "updateTime";	
	public static final String UPDATOR = "updator";
	
	public BaseEntity() {
		
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getUpdator() {
		return updator;
	}

	public void setUpdator(String updator) {
		this.updator = updator;
	}
}
